package cn.tedu.egmybatis02.mapper;

import cn.tedu.egmybatis02.pojo.entity.Product;
import cn.tedu.egmybatis02.pojo.vo.ProductVO1;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ProductMapper {
    int insertProduct(Product product);
    int deleteProduct(String title);
    int updateProductByTitle(Product product);
    Product selectProductByTitle(String title);
    ProductVO1 selectProductVO1ByTitle(String title);
    java.util.List<Product> selectAllProducts();
}
